package com.ygqh.baby.model;

import java.io.Serializable;

import com.ygqh.baby.ao.PlatformType;
import com.ygqh.baby.ao.UserType;

public class YgUserModel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3644444258956952721L;

	private Long id;
	
	private String userName;
	
	private String nickName;
	
	private String telPhone;
	
	private String headImageUrl;

	private String headFileId;
	
    private String openId;

	private UserType userType;

    private Integer level;

	private Boolean isStar = Boolean.FALSE;
	
	private Boolean isOnline = Boolean.FALSE;
	
	private PlatformType platformType = PlatformType.H5;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getTelPhone() {
		return telPhone;
	}

	public void setTelPhone(String telPhone) {
		this.telPhone = telPhone;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public UserType getUserType() {
		return userType;
	}

	public void setUserType(UserType userType) {
		this.userType = userType;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Boolean getIsStar() {
		return isStar;
	}

	public void setIsStar(Boolean isStar) {
		this.isStar = isStar;
	}

	public Boolean getIsOnline() {
		return isOnline;
	}

	public void setIsOnline(Boolean isOnline) {
		this.isOnline = isOnline;
	}

	public String getHeadImageUrl() {
		return headImageUrl;
	}

	public void setHeadImageUrl(String headImageUrl) {
		this.headImageUrl = headImageUrl;
	}

	public String getHeadFileId() {
		return headFileId;
	}

	public void setHeadFileId(String headFileId) {
		this.headFileId = headFileId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public PlatformType getPlatformType() {
		return platformType;
	}

	public void setPlatformType(PlatformType platformType) {
		this.platformType = platformType;
	}

	@Override
	public String toString() {
		return "YgUserModel [id=" + id + ", userName=" + userName + ", nickName=" + nickName + ", telPhone=" + telPhone + ", headImageUrl=" + headImageUrl
				+ ", headFileId=" + headFileId + ", openId=" + openId + ", userType=" + userType + ", level=" + level + ", isStar=" + isStar + ", isOnline="
				+ isOnline + ", platformType=" + platformType + "]";
	}
	
}
